home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 December
/
PCWorld_2007-12_cd.bin
/
v cisle
/
aircrack
/
aircrack-ng-0.9.1-win.exe
/
aircrack-ng-win-0.9.1
/
evalrev
< prev
next >
Wrap
Text File
|
2007-03-26
|
426b
|
27 lines
#!/bin/sh
if [ ! -d ".svn/" ]
then
echo "0"
exit ;
fi
REVISION="`svnversion 2> /dev/null | sed 's/[^0-9]*//g'`"
if [ x$REVISION = "x" ]
then
REVISION="`svn info 2> /dev/null | grep -i revision | sed 's/[^0-9]*//g'`"
fi
if [ x$REVISION = "x" -a -e ".svn/entries" ]
then
REVISION="`cat .svn/entries | grep -i revision | head -n 1 | sed 's/[^0-9]*//g'`"
fi
if [ x$REVISION = "x" ]
then
REVISION="-1"
fi
echo $REVISION